import {
  request,
  request2
} from './request'


export function swAll(type, size) {
  return request({
    method: "post",
    url: '/platform/sw/swKeList',
    data: {
      swType: type,
      ps: size
    }
  })
}
export function swOne(id) {
  return request({
    method: "post",
    url: '/platform/sw/swOne',
    params: {
      id
    }
  })
}